<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Rodney v13 - Slashware Interactive</title>
	<link href="lib/unicodetiles/unicodetiles.css" rel="stylesheet" type="text/css" />
	<link href="game.css" rel="stylesheet" type="text/css" />
	
	<script src="lib/unicodetiles/unicodetiles.js?v=13"></script>
	<script src="lib/unicodetiles/ut.WebGLRenderer.js?v=13"></script>
	<script src="lib/unicodetiles/ut.CanvasRenderer.js?v=13"></script>
	<script src="lib/unicodetiles/ut.DOMRenderer.js?v=13"></script>
	<script src="js/keycodes.js?v=13"></script>
	<script src="lib/websocket/RWSC.js?v=13"></script>
	<script src="js/vkeyb.js?v=13"></script>
	<script src="js/Tiles.js?v=13"></script>
	<script src="js/Images.js?v=13"></script>
	<script src="js/Sound.js?v=13"></script>
	<script src="js/TextBox.js?v=13"></script>
	<script src="js/JSRL.js?v=13"></script>
	<script src="js/Rodney.js?v=13"></script>
	<script src="js/Skill.js?v=13"></script>
	<script src="js/UI.js?v=13"></script>
	<script src="js/Player.js?v=13"></script>
	<script src="js/Enemy.js?v=13"></script>
	<script src="js/Dungeon.js?v=13"></script>
	<script src="js/DungeonGenerator.js?v=13"></script>
	<script src="js/Item.js?v=13"></script>
	<script src="js/Roll.js?v=13"></script>
	<script src="js/MonsterFactory.js?v=13"></script>
	<script src="js/ItemFactory.js?v=13"></script>
	<script src="js/FeatureCarveGenerator.js?v=13"></script>
	<script src="js/util.js?v=13"></script>
	<script src="js/GraphicRender.js?v=13"></script>
	
<!-- start Mixpanel --><script type="text/javascript">(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,
e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
mixpanel.init("493fd199a0bd8dcce0ef2d05e1289bf7");</script><!-- end Mixpanel -->

	<link href='http://fonts.googleapis.com/css?family=Fondamento' rel='stylesheet' type='text/css'>
</head>

<body onload="Rodney.initGame();">
	<div class="centerer">
		<div id="game">Enable JavaScript and reload the page.</div>
		<div id = "chat" class="chat">
			<div id="chatBox"></div>
			
			<div>
				<textarea id="txtChatText" onkeydown="JSRL.websocket.messageKeydown(event)"></textarea>
			</div>
		</div>
	</div>
		<div class="centerer" style = "display:none;">
		<div id = "nameEnterDiv" style = "display: none;">Name: <input type = "text" onkeypress="return vkeybcode(event);"/></div>
		<table id = "gameKeyboardTable" style = "width: 100%; display: none;">
			<tr>
				<td>
					<table id = "vkeyb">
						<tr>
							<td onclick="vkeyb('Numpad 5');">
								Pass
							</td>
						</tr>
						<tr>
							<td onclick="vkeyb('I');">
								Inventory
							</td>
						</tr>
						<tr>
							<td onclick="vkeyb('Esc');">
								Esc
							</td>
						</tr>
					</table>
				</td>
				<td style = "width: 100%;">
					<table id = "vkeyb" style = "float: right;">
						<tr>
							<td onclick="vkeyb('Numpad 7');">UpLeft</td>
							<td onclick="vkeyb('Numpad 8');">Up</td>
							<td onclick="vkeyb('Numpad 9');">UpRight</td>
						</tr>
						<tr>
							<td onclick="vkeyb('Numpad 4');">Left</td>
							<td onclick="vkeyb('Enter');">Action</td>
							<td onclick="vkeyb('Numpad 6');">Right</td>
						</tr>
						<tr>
							<td onclick="vkeyb('Numpad 1');">DownLeft</td>
							<td onclick="vkeyb('Numpad 2');">Down</td>
							<td onclick="vkeyb('Numpad 3');">DownRight</td>
						</tr>						
					</table>
				</td>
		</table>
	</div>
	<div class="centerer">
		<audio controls="controls" loop="loop" autoplay="autoplay"><source src="mp3/dungeonsOfDemise.mp3" type="audio/mpeg"></source></audio>
		<br/>
        <p>Use Google Chrome for a better experience.</p>
        <p><input type = "button" onclick = "Rodney.leaderboard();" value = "Leaderboard"/> - <input type = "button" id = "btnConnection" onclick = "Rodney.switchConnection();" value = "Online Mode"/> - <input type = "button" id = "btnGraphics" onclick = "Rodney.switchGraphics();" value = "Using Graphics"/> - <input type = "button" onclick = "Rodney.sdrl();" value = "7DRL version"/></p>
    	<p>A production of <a href = "http://interactive.slashware.net/" target = "_blank">Slashware Interactive</a>, powered by <a href = "http://tapiov.net/unicodetiles.js/" target = "_blank">unicodetiles.js</a></p>
	</div>
	
</body>
</html>